package com.ruoyi.project.projectUsers.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目成员对象 project_users
 *
 * @author ruoyi
 * @date 2020-05-28
 */
public class ProjectUsers extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  private Long id;

  /**
   * 用户编号
   */
  @Excel(name = "用户编号")
  private Long userid;

  /**
   * 账户名
   */
  @Excel(name = "账户名")
  private String loginName;

  /**
   * 用户名
   */
  @Excel(name = "用户名")
  private String userName;

  /**
   * 手机号
   */
  @Excel(name = "手机号")
  private String phonenumber;

  /**
   * 用户头像
   */
  @Excel(name = "用户头像")
  private String avatar;

  /**
   * 项目编号
   */
  @Excel(name = "项目编号")
  private Long projectinfoid;

  /**
   * 项目名
   */
  @Excel(name = "项目名")
  private String projectinfoname;

  /**
   * 岗位描述
   */
  @Excel(name = "岗位描述")
  private String postsdesc;

  public void setId(Long id) {
    this.id = id;
  }

  public Long getId() {
    return id;
  }

  public void setUserid(Long userid) {
    this.userid = userid;
  }

  public Long getUserid() {
    return userid;
  }

  public void setLoginName(String loginName) {
    this.loginName = loginName;
  }

  public String getLoginName() {
    return loginName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserName() {
    return userName;
  }

  public void setPhonenumber(String phonenumber) {
    this.phonenumber = phonenumber;
  }

  public String getPhonenumber() {
    return phonenumber;
  }

  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }

  public String getAvatar() {
    return avatar;
  }

  public void setProjectinfoid(Long projectinfoid) {
    this.projectinfoid = projectinfoid;
  }

  public Long getProjectinfoid() {
    return projectinfoid;
  }

  public void setProjectinfoname(String projectinfoname) {
    this.projectinfoname = projectinfoname;
  }

  public String getProjectinfoname() {
    return projectinfoname;
  }

  public void setPostsdesc(String postsdesc) {
    this.postsdesc = postsdesc;
  }

  public String getPostsdesc() {
    return postsdesc;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
      .append("id", getId())
      .append("userid", getUserid())
      .append("loginName", getLoginName())
      .append("userName", getUserName())
      .append("phonenumber", getPhonenumber())
      .append("avatar", getAvatar())
      .append("projectinfoid", getProjectinfoid())
      .append("projectinfoname", getProjectinfoname())
      .append("postsdesc", getPostsdesc())
      .toString();
  }
}
